package com.generator.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 〈base 〉
 * @author xsh
 * @create 2018/9/17
 * @since 1.0.0
 */
@Configuration
@ConfigurationProperties(prefix = "generator.base")
public class BaseConfiguration {


    private  boolean autoRemovePre;

    private String  tablePrefix ;

    private String packageName;

    public boolean isAutoRemovePre() {
        return autoRemovePre;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }


    public void setAutoRemovePre(boolean autoRemovePre) {
        this.autoRemovePre = autoRemovePre;
    }

    public String getTablePrefix() {
        return tablePrefix;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }
}